#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int get(int inNum) {

	if (inNum == 1) return 1;
	int res = 1;
	for (int i = 2; i < inNum; i++) {
		if (inNum % i != 0)continue;
		res += get(inNum / i);

	}
	return res;
}
int main() {
	printf("%d", get(12));
	return 0;
}